<template>
	<view>
		<view>
			<view class="list" v-for="(item,index) in list" :key="index">
				<view class="title">{{item.title}}</view>
				<view class="item">
					<view class="line" v-for="(item2,index) in item.children" :key="index">
						<view class="num1">{{item2.title}}</view>
						<view class="num2">{{item2.text}}</view>
						<text class="iconfont icon-jiantouyou"></text>
					</view>
				</view>
			</view>
		</view>
		
		<!-- 底部安全区适配 -->
		<view class="safe-area-inset-bottom"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[{
					title:'1.买房准备',
					children:[{
						title:'1.1确定购房资格',
						text:'对于限购的城市，购房对于限购的城市，购房对于限购的城市，购房对于限购的城市，购房'
					},{
						title:'1.2确定购房能力'
					}]
				},{
					title:'2.签署合同',
					children:[{
						title:'2.1确定购房资格',
						text:'对于限购的城市，购房对于限购的城市，购房对于限购的城市，购房对于限购的城市，购房'
					}]
				},{
					title:'3.资金监管',
					children:[{
						title:'3.1确定购房资格',
						
					}]
				}]
			}
		},
		methods: {
			
		},
		onLoad() {
			
		}
	}
</script>

<style lang="scss">
	.list{
		border-bottom: 14rpx solid #f4f4f4;padding: 30rpx 40rpx 20rpx;
		.title{font-size: 35rpx;color: #111;font-weight: bold;}
		.item{padding-left: 24rpx;
			.line{border-bottom: 1rpx solid #ddd;position: relative;padding-right: 30rpx;
				&:last-child{border-bottom: 0;}
				.num1{font-weight: bold;font-size: 30rpx;padding: 10rpx 0;}
				.num2{padding-bottom: 10rpx;color: #666;}
				.iconfont{position: absolute;right: 0;top: 14rpx;}
			}
		}
		&:last-child{border-bottom: 0;}
	}
</style>
